Skip to content

Conversation

nikic
Copy link
Contributor

@nikic nikic commented Feb 4, 2025

This library is provided by flang, not MLIR, so it should not be part of MLIR_LIBS.

Fixes an issue introduced in #120966.

This library is provided by flang, not MLIR, so it should not be
part of MLIR_LIBS.
@nikic nikic requested a review from mgorny February 4, 2025 15:26
@llvmbot llvmbot added flang Flang issues not falling into any other category flang:fir-hlfir labels Feb 4, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 4, 2025

@llvm/pr-subscribers-flang-fir-hlfir

Author: Nikita Popov (nikic)

Changes

This library is provided by flang, not MLIR, so it should not be part of MLIR_LIBS.

Fixes an issue introduced in #120966.


Full diff: https://github.com/llvm/llvm-project/pull/125697.diff

1 Files Affected:

  • (modified) flang/lib/Optimizer/Analysis/CMakeLists.txt (+1-1)
diff --git a/flang/lib/Optimizer/Analysis/CMakeLists.txt b/flang/lib/Optimizer/Analysis/CMakeLists.txt
index 6fe9c70f83765f..c4dae898f8e572 100644
--- a/flang/lib/Optimizer/Analysis/CMakeLists.txt
+++ b/flang/lib/Optimizer/Analysis/CMakeLists.txt
@@ -12,6 +12,7 @@ add_flang_library(FIRAnalysis
   LINK_LIBS
   FIRBuilder
   FIRDialect
+  FIRSupport
   HLFIRDialect
 
   MLIR_LIBS
@@ -19,5 +20,4 @@ add_flang_library(FIRAnalysis
   MLIRLLVMDialect
   MLIRMathTransforms
   MLIROpenMPDialect
-  FIRSupport
 )

Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake (probably rebase/merge error). Thanks!

@nikic nikic merged commit ee76bda into llvm:main Feb 5, 2025
11 checks passed
@nikic nikic deleted the flang-lib-fix branch February 5, 2025 08:48
nikic added a commit to nikic/llvm-project that referenced this pull request Feb 5, 2025
This library is provided by flang, not MLIR, so it should not be part of
MLIR_LIBS.

Fixes an issue introduced in llvm#120966.

(cherry picked from commit ee76bda)
nikic added a commit to nikic/llvm-project that referenced this pull request Feb 11, 2025
This library is provided by flang, not MLIR, so it should not be part of
MLIR_LIBS.

Fixes an issue introduced in llvm#120966.

(cherry picked from commit ee76bda)
Icohedron pushed a commit to Icohedron/llvm-project that referenced this pull request Feb 11, 2025
This library is provided by flang, not MLIR, so it should not be part of
MLIR_LIBS.

Fixes an issue introduced in llvm#120966.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang:fir-hlfir flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants